package game
import (
	//"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/mysql"
	//"time"
	"time"
)


var ShopModel = func() *GameShop {
	shopData := new(GameShop)
	return shopData
}
type GameShop struct {
	Id uint `gorm:"primary_key" gorm:"column:id"`
	AreaId uint16 `gorm:"column:areaId"`
	Keyword string `gorm:"column:keyword"`
	PropName string `gorm:"column:propName"`
	Info string `gorm:"column:info"`
	Price float32 `gorm:"column:price"`
	ParPrice float32 `gorm:"column:parPrice"`
	Status int8 `gorm:"column:status"`
	SType int8 `gorm:"column:sType"`
	StartTime time.Time `gorm:"column:startTime"`
	EndTime time.Time `gorm:"column:endTime"`
}

type ShopListResult struct {
	Id uint `gorm:"primary_key" gorm:"column:id"`
	PropName string `gorm:"column:propName"`
	Info string `gorm:"column:info"`
	Price float32 `gorm:"column:price"`
	ParPrice float32 `gorm:"column:parPrice"`
	SType int8 `gorm:"column:sType"`
}